<?php
	session_start();
	if(!isset($_SESSION['login'])){
		header('location:../vue/index.php');
	}
	include '../model/model_sql.php';
	
	var_dump($_GET);
	var_dump($_SESSION);
	
	$myvar = new SQLBlog();
	if($var=$myvar->SupprimerUnCommentaire($_GET['comm_id'], $_SESSION['id'])){
		header('location:../vue/index.php');
	} else var_dump($var);

?>
